.layout {
  min-height: 100vh;
  background: #f5f7fa;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 0;
}

.headerContent {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #1890ff;
  margin-right: 48px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s;
}

.logo:hover {
  color: #40a9ff;
}

.menu {
  flex: 1;
  min-width: 0;
  border-bottom: none;
  background: transparent;
}

.menu :global(.ant-menu-item) {
  padding: 0 16px;
}

.content {
  margin-top: 64px;
  min-height: calc(100vh - 64px - 70px);
  padding: 24px;
}

.contentWrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
}

.footer {
  text-align: center;
  padding: 24px;
  background: #fff;
  color: #8c8c8c;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .headerContent {
    padding: 0 16px;
  }

  .logo {
    font-size: 18px;
    margin-right: 24px;
  }

  .menu {
    font-size: 14px;
  }

  .menu :global(.ant-menu-item) {
    padding: 0 12px;
  }

  .content {
    padding: 16px;
  }
}

@media screen and (max-width: 576px) {
  .header {
    height: auto;
    padding: 8px 0;
  }

  .headerContent {
    flex-direction: column;
    padding: 0 12px;
  }

  .logo {
    margin: 8px 0;
  }

  .menu {
    width: 100%;
    overflow-x: auto;
  }

  .menu::-webkit-scrollbar {
    display: none;
  }

  .content {
    margin-top: 96px;
    padding: 12px;
  }

  .footer {
    padding: 16px;
    font-size: 12px;
  }
} 